<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>FancyWindow (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
  </script>

  <script src="static/js/doc.js">
  </script>

  <meta charset="utf8">
</head>

<body onload="prettyPrint()">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">debug.FancyWindow</span>
        <span>Extends</span>
        <span class="fn-name">
          <a href="class_goog_debug_DebugWindow.html">
            goog.debug.DebugWindow</a>
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Provides a Fancy extension to the DebugWindow class.  Allows filtering based
on loggers and levels.
  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="../demos/debug.html">Demo</a></li>
            <li><a href="closure_goog_debug_fancywindow.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<pre class="inheritance">
Object
     <img src="static/images/inherit.gif"><span class="type"><a href="class_goog_debug_DebugWindow.html">goog.debug.DebugWindow</a></span>
          <img src="static/images/inherit.gif">goog.debug.FancyWindow
</pre>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.debug.FancyWindow(<span><span class="arg">opt_identifier</span>,&nbsp;<span class="arg">opt_prefix</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_identifier</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Idenitifier for this logging class.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_prefix</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Prefix pre-pended to messages.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_debug_FancyWindow.html">
              goog.debug.FancyWindow
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.closeOptions_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">closeOptions_<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
      </div>


     <div class="entryOverview">
       Show the options menu.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>&nbsp;
            The value false.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line170">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.getDropDown_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDropDown_<span class="args">(<span class="arg">id</span>,&nbsp;<span class="arg">selected</span>)</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/DOM/Element">Element</a></span></div>
      </div>


     <div class="entryOverview">
       Make a drop down for the log levels.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Logger id.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">selected</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">What log level is currently selected.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/DOM/Element">Element</a></span></div>&nbsp;
            The newly created &#39;select&#39; DOM element.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line147">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.getHtml_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getHtml_<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       Return the default HTML for the debug window
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            Html.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line244">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.getStyleRules"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getStyleRules<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            The style rule text, for inclusion in the initial HTML.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line217">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.openOptions_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">openOptions_<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
      </div>


     <div class="entryOverview">
       Show the options menu.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>&nbsp;
            false.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line120">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.resizeStuff_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">resizeStuff_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Resize the lof elements
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line192">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.writeBufferToLog_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeBufferToLog_<span class="args">(<span class="arg">html</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Write to the log and maybe scroll into view
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">html</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">HTML to post to the log.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line59">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.prototype.writeInitialDocument_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeInitialDocument_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Writes the initial HTML of the debug window
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line88">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_debug_DebugWindow.html">
              goog.debug.DebugWindow
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.addFilter"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addFilter<span class="args">(<span class="arg">loggerName</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Adds a logger name to be filtered.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">loggerName</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">the logger name to add.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line558">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.addLogRecord"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addLogRecord<span class="args">(<span class="arg">logRecord</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Adds a log record.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">logRecord</span>
        : <div class="fullType"><span class="type"><a href="class_goog_debug_LogRecord.html">goog.debug.LogRecord</a></span></div>
        <div class="entryOverview">the LogRecord.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line312">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.addSeparator"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addSeparator<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line290">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.clear_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">clear_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Clears the contents of the debug window
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line300">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.getCookie_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getCookie_<span class="args">(<span class="arg">key</span>,&nbsp;<span class="arg">opt_default</span>)</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       Retrieve data (using cookies).
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">key</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Data name.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_default</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Optional default value if cookie doesn&#39;t exist.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            Cookie value.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line500">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.getFormatter"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getFormatter<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="class_goog_debug_Formatter.html">goog.debug.Formatter</a></span></div>
      </div>


     <div class="entryOverview">
       Gets the formatter for outputting to the debug window. The default formatter
is an instance of goog.debug.HtmlFormatter
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="class_goog_debug_Formatter.html">goog.debug.Formatter</a></span></div>&nbsp;
            The formatter in use.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line273">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.getStyleRules"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getStyleRules<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            The style rule text, for inclusion in the initial HTML.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line445">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.getWindowName_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getWindowName_<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       Gets a valid window name for the debug window. Replaces invalid characters in
IE.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            Valid window name.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line436">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.init"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">init<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line197">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.isCapturing"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isCapturing<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
      </div>


     <div class="entryOverview">
       Whether we are currently capturing logger output.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>&nbsp;
            whether we are currently capturing logger output.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line243">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.isEnabled"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isEnabled<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
      </div>


     <div class="entryOverview">
       Whether the DebugWindow is enabled. When the DebugWindow is enabled, it
tries to keep its window open and logs all messages to the window.  When the
DebugWindow is disabled, it stops logging messages to its window.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>&nbsp;
            Whether the DebugWindow is enabled.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line211">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.openWindow_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">openWindow_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Opens the debug window if it is not already referenced
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line397">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.removeFilter"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">removeFilter<span class="args">(<span class="arg">loggerName</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Removes a logger name to be filtered.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">loggerName</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">the logger name to remove.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line567">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.saveWindowPositionSize_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">saveWindowPositionSize_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Saves the window position size to a cookie
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line542">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.setCapturing"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setCapturing<span class="args">(<span class="arg">capturing</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets whether we are currently capturing logger output.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">capturing</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
        <div class="entryOverview">Whether to capture logger output.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line252">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.setCookie_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setCookie_<span class="args">(<span class="arg">key</span>,&nbsp;<span class="arg">value</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Save persistent data (using cookies) for 1 month (cookie specific to this
logger object)
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">key</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Data name.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">value</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">Data value.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line486">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.setEnabled"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setEnabled<span class="args">(<span class="arg">enable</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets whether the DebugWindow is enabled. When the DebugWindow is enabled, it
tries to keep its window open and log all messages to the window. When the
DebugWindow is disabled, it stops logging messages to its window. The
DebugWindow also saves this state to a cookie so that it&#39;s persisted across
application refreshes.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">enable</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
        <div class="entryOverview">Whether the DebugWindow is enabled.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line224">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.setFormatter"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setFormatter<span class="args">(<span class="arg">formatter</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the formatter for outputting to the debug window.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">formatter</span>
        : <div class="fullType"><span class="type"><a href="class_goog_debug_Formatter.html">goog.debug.Formatter</a></span></div>
        <div class="entryOverview">The formatter to use.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line282">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.setWelcomeMessage"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setWelcomeMessage<span class="args">(<span class="arg">msg</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the welcome message shown when the window is first opened or reset.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">msg</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">An HTML string.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line189">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.writeBufferToLog_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeBufferToLog_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Write to the log and maybe scroll into view
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line363">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.writeInitialDocument_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeInitialDocument_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Writes the initial HTML of the debug window
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line462">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.writeSavedMessages_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeSavedMessages_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Writes all saved messages to the DebugWindow.
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line385">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.writeToLog_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">writeToLog_<span class="args">(<span class="arg">html</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Write to the buffer.  If a message hasn&#39;t been sent for more than 750ms just
write, otherwise delay for a minimum of 250ms.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">html</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">HTML to post to the log.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line345">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.DebugWindow.prototype.write_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">write_<span class="args">(<span class="arg">html</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Writes a message to the log, possibly opening up the window if it&#39;s enabled,
or saving it if it&#39;s disabled.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">html</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The HTML to write.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line327">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_debug_DebugWindow.html">
              goog.debug.DebugWindow
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.bufferTimeout_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">bufferTimeout_</span>
        : <div class="fullType"><span>?</span><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span></div>
     </div>


     <div class="entryOverview">
       Reference to timeout used to buffer the output stream.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line172">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.isCapturing_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">isCapturing_</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
     </div>


     <div class="entryOverview">
       Whether we are currently capturing logger output.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line156">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry protected">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.lastCall_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastCall_</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span></div>
     </div>


     <div class="entryOverview">
       Timestamp for the last time the log was written to.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line181">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.welcomeMessage"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">welcomeMessage</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
     </div>


     <div class="entryOverview">
       HTML string printed when the debug window opens
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line133">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.winOpening_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">winOpening_</span>
        : <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
     </div>


     <div class="entryOverview">
       In the process of opening the window
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line148">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry protected">
       <td class="access"></td>





  <a name="goog.debug.DebugWindow.prototype.win_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">win_</span>
        : <div class="fullType"><span>?</span><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/DOM/window">Window</a></span></div>
     </div>


     <div class="entryOverview">
       Reference to debug window
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_debug_debugwindow.js.source.html#line141">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.debug.FancyWindow.getLoggers_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.debug.FancyWindow.</span><span class="entryName">getLoggers_<span class="args">()</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span></div>
      </div>


     <div class="entryOverview">
       Gets a sorted array of all the loggers registered
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="http://www.google.com/url?sa=D&q=https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span></div>&nbsp;
            Array of logger idents, e.g. goog.net.XhrIo.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_goog_debug_fancywindow.js.source.html#line207">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package debug</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="goog" current="debug.FancyWindow"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
